package com.test.auth.feign;


import com.test.common.api.CommonResult;
import com.test.model.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "user",path="/user/center")
public interface UmsMemberFeignService {
    
    @RequestMapping("/loadUmsMember")
    CommonResult<User> loadUserByUsername(@RequestParam("username") String username);
}